﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data.OleDb;
namespace BUS
{
    public class DoanhThuBUS
    {
        public List<DoanhThuDTO> Laysohoadontheochinh()
        {
            DoanhThuDAO dao = new DoanhThuDAO();
            return dao.Laysohoadontheochinh();
        }
        public double TongTienHDTheoNgay(DateTime bd, DateTime kt)
        {
            DAO.DoanhThuDAO dt = new DoanhThuDAO();
            return (double)dt.TongTienHDTheoNgay(bd, kt);
        }
        public static OleDbDataAdapter BCDoanhThu(DateTime bd, DateTime kt)
        {
            DAO.DoanhThuDAO ct = new DAO.DoanhThuDAO();
            return ct.BCDoanhThu(bd, kt);
        }
    }
}
